From: Richard M. Stallman Date: Sat, 3 Jan 2004 21:12:08 +0000 (+0000) Subject: (speedbar-edit-line): Change regexp to position X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~24589 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=075c7ed75513adcc80b92291ef83ea2e48275bbc;p=emacs.git (speedbar-edit-line): Change regexp to position the cursor on the first character of this line's button. --- diff --git a/lisp/speedbar.el b/lisp/speedbar.el index 5eef1359fad..f8e9386585d 100644 --- a/lisp/speedbar.el +++ b/lisp/speedbar.el @@ -3410,7 +3410,9 @@ directory with these items." (if (re-search-forward "[]>?}] [^ ]" (save-excursion (end-of-line) (point)) t) - (speedbar-do-function-pointer) + (progn + (forward-char -1) + (speedbar-do-function-pointer)) nil)) (speedbar-do-function-pointer)))